//2009/08/10 13:23:57
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <algorithm>

using namespace std;

class IBEvaluator
{
public:
    vector <int> getSummary(vector <int> pre, vector <int> act)
    {
		vector<int> ret(7, 0);
		for(int i=0; i<pre.size(); i++)
		{
			ret[abs(pre[i] - act[i])] ++;
		}
		for(int i=0; i<ret.size(); i++)
		{
			ret[i] = (int) (ret[i] * 100 / pre.size());
		}
		return ret;
    }
};
